<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title></title>
        <link rel='stylesheet' type='text/css' href='__PUBLIC__/css/style.css'>


<load href='__PUBLIC__/Js/Jquery/jquery.js'/>            
<load href="__PUBLIC__/Js/jqueryUI/jquery-ui-1.8.16.custom.min.js" />
<load href="__PUBLIC__/Css/jqueryUI/jquery-ui-1.8.21.custom.css" />
<link rel='stylesheet' type='text/css' href='__PUBLIC__/css/style.css'>
            <style>
                html{overflow-x : hidden;}
	html, body{
	font: 90% "Trebuchet MS", sans-serif;
	background-color:#e3e1e1;
}
			.demoHeaders { margin-top: 2em; }
			ul#icons {margin: 0; padding: 0;}
			ul#icons li {margin: 2px; position: relative; padding: 4px 0; cursor: pointer; float: left;  list-style: none;}
			ul#icons span.ui-icon {float: left; margin: 0 4px;}
			.ui-accordion .ui-accordion-header a {
    font-size: 1em;
    font-weight: bold;
    padding: 0.6em 0.3em 0.5em 0.9em;
}
li{ list-style:square;
 padding-left: 10px;
}
ul{ 
 padding-left: 0px;
 margin:0;
}
            </style>

<script type="text/javascript" language= "javascript">
			$(function(){

				// Accordion
				$("#accordion").accordion({ header: "h3" });
				if ($("#frame-body",window.parent.document).attr('cols') == "25,*")
 				 {
					    $("#menuimg").attr({'class':'returnright'});
						$("#menutitle").hide();
						
						$("#menu-frame",window.parent.document).attr({'width':'25px'});
						
	$(".main-frame",window.parent.document).css({'width':window.parent.document.documentElement.clientWidth - 25+'px'});
						$("#menu",parent.document).css({'overflow':'hidden'});
						//imgArrow.src = "__PUBLIC__/Images/bar_open.gif";
						
						$("#menu").hide();
				  }
				
				
			});
			
function toggleMenu()
{
  //frmBody = parent.$("#frame-body");
  //imgArrow = $('#img');

  /*if ($(".iFrLeft",window.parent.document).css('width') == "25px")
  {
     $("#menutitle").show();
	 
	 $(".iFrLeft",window.parent.document).css({'width':'200px'});
	 $("#menu-frame",window.parent.document).attr({'width':'200px'});
	$(".iFrRight",window.parent.document).css({'left':'200px'});
	$(".iFrRight",window.parent.document).css({'width':window.parent.document.documentElement.clientWidth - 200+'px'});
	$(".main-frame",window.parent.document).css({'width':window.parent.document.documentElement.clientWidth - 200+'px'});
	 $("#menuimg").attr({'class':'returnleft'});
	 $("#menu").show();
	 $("#menu",parent.document).css({'overflow':'auto'});
    //imgArrow.src = "__PUBLIC__/Images/bar_close.gif";
  }
  else
  {
    $("#menuimg").attr({'class':'returnright'});
	$("#menutitle").hide();
	$(".iFrLeft",window.parent.document).css({'width':'25px'});
	$("#menu-frame",window.parent.document).attr({'width':'25px'});
	$(".iFrRight",window.parent.document).css({'left':'25px'});
	$(".iFrRight",window.parent.document).css({'width':window.parent.document.documentElement.clientWidth - 25+'px'});
	$(".main-frame",window.parent.document).css({'width':window.parent.document.documentElement.clientWidth - 25+'px'});

	$("#menu",parent.document).css({'overflow':'hidden'});
    //imgArrow.src = "__PUBLIC__/Images/bar_open.gif";
	$("#menu").hide();
	

	
  }*/
  if ($("#frame-body",window.parent.document).attr('cols') == "25,*")
  {
     $("#menutitle").show();
	 
$("#frame-body",window.parent.document).attr('cols','200,*');
	 $("#menu-frame",window.parent.document).attr({'width':'200px'});
	$("#main-frame",window.parent.document).css({'width':window.parent.document.documentElement.clientWidth - 200+'px'});
	 $("#menuimg").attr({'class':'returnleft'});
	 $("#menu").show();
	 $("#menu",parent.document).css({'overflow':'auto'});
    //imgArrow.src = "__PUBLIC__/Images/bar_close.gif";
  }
  else
  {
    $("#menuimg").attr({'class':'returnright'});
	$("#menutitle").hide();
	$("#frame-body",window.parent.document).attr('cols','25,*');
	$("#menu-frame",window.parent.document).attr({'width':'25px'});
	

	$("#menu",parent.document).css({'overflow':'hidden'});
    //imgArrow.src = "__PUBLIC__/Images/bar_open.gif";
	$("#menu").hide();
	

	
  }

}



			
</script>
            
         <base target="main" />
    </head>

    <body>
    <div style=" style="background-color:#56aaf3;">

    <div class="titleone"><a href="javascript:void(0)" onclick="toggleMenu();"><div id="menuimg" class="returnleft"></div></a>&nbsp;&nbsp; 
               <div style="margin-top:-15px; ">{$groups.title}</div></div>
        <div id="menu" class="menu">
        <!-- menu 菜单  -->

        		<div id="accordion">
				
			
				<volist id="item" name="menu" >
                <div>
                    <eq name="item['groupid']" value="$menuTag">
                        <neq name="item['name']|strtolower" value="public" >
                            <neq name="item['name']|strtolower" value="index" >
                                <eq name="item['access']" value="1" >
                                    <h3><a href="#">{$item['menuname']}</a></h3>
                                    <div>
                                <ul>
                                <volist id="itemchild" name="item['childmenu']" >
                                <li class="fLeft"><a href="__APP__/{$item['name']}/{$itemchild['name']}/" id="{$key}">{$itemchild['menuname']}</a></li>
                                </volist>
                                </ul>
                                    </div>    
                                    
                                </eq>
                            </neq>
                        </neq>
                    </eq>
                    </div>
                </volist>

		</div>

            
        </div>
        <script language="JavaScript">
            <!--
            function refreshMainFrame(url){
                parent.main.document.location = url;
            }
            if (document.anchors[0]){
                refreshMainFrame(document.anchors[0].href);
            }
            //-->
        </script>
        </div>
    </body>
</html>